package com.chinanet.entry.faultanticipate;

import com.chinanet.service.faultanticipate.controll.IdStrategy;
import org.springframework.data.mongodb.core.mapping.Document;

import javax.persistence.*;
import java.io.Serializable;

@Document(collection = "china_net")
public class Model implements Serializable {
    @Id
    private String id;

    private int sId= IdStrategy.getId();

    // 初始参数
    private String initParam;

    // 流程图内容
    private String content;

    // 条件列表
    private String condition;

    // 分支列表
    private String branch;

    // 选择列表
    private String select;

    private String delmark;

    private String mType;

    public Model() {
    }

    public int getsId() {
        return sId;
    }

    public void setsId(int sId) {
        this.sId = sId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getInitParam() {
        return initParam;
    }

    public void setInitParam(String initParam) {
        this.initParam = initParam;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getSelect() {
        return select;
    }

    public void setSelect(String select) {
        this.select = select;
    }

    public String getDelmark() {
        return delmark;
    }

    public void setDelmark(String delmark) {
        this.delmark = delmark;
    }

    public String getmType() {
        return mType;
    }

    public void setmType(String mType) {
        this.mType = mType;
    }
}
